package org.hy.demo.design;

public class MiniBusTargetService {

    public String lottery(String uId){
        return Math.abs(uId.hashCode()) % 2 == 0 ? "恭喜你，编码".concat(uId).concat("在本次摇号中中签") : "很遗憾，编码".concat(uId).concat("在本次摇号未中签或摇号资格已过期") ;
    }
}
